<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate icon" type="image/png" href="i/favicon.png">
<link rel="stylesheet" href="css/amazeui.min.css" />
<style>
.header {
	text-align: center;
}

.header h1 {
	font-size: 200%;
	color: #333;
	margin-top: 30px;
}

.header p {
	font-size: 14px;
}
</style>
</head>
<body>
	<div class="header">
		<div class="am-g">
			<h1>注册</h1>
			<p>
				<i class="am-icon-modx am-icon-sm"></i> Wonderful Song<br />音乐随心
			</p>
		</div>
		<hr />
	</div>
	<div class="am-g">
		<div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">


			<s:form theme="simple" class="am-form" action="regist" method="post">


				<label for="email">用户名:</label>

				<s:textfield type="text" name="user.username" />
				<br>

				<label for="password">密码:</label>

				<s:password type="password" name="user.password" />
				<br>

				<label for="email">邮箱:</label>

				<s:textfield label="邮箱" type="text" name="user.email" />
				<br>

				<label for="email">电话:</label>

				<s:textfield  label="电话" name="user.phone" />
				<br>

				<br />
				<div class="am-cf"><s:a cssClass="am-btn" href="login.jsp">已经注册点我登录^_^</s:a>
					<s:submit value="注册" class="am-btn am-btn-primary am-btn-lg am-fl" />
					<input type="button" onclick="window.location='index.action'" 
						value="返回首页" class="am-btn am-btn-default am-btn-lg am-fr">
				</div>
			</s:form>
			<s:fielderror cssClass="am-msg am-btn-warning"></s:fielderror>
			<hr>
			<p>© 2019 Wonderful Song 王骏 毕业设计作品 15软件G1班 2015330117</p>
		</div>
	</div>
</body>
</html>